package cn.billy.basic.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/**
* @Description: 分页查询类
* @Author: Billy
* @Version: 1.0
* @Date:  2022/6/21 21:27
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {

    // 1.分页总条数
    private Integer total;

    // 2.当前页数据
    private List<T> rows;
}
